package com.ge.modules.api.service.impl;

import com.ge.modules.api.service.TbStoreCommentService;
import com.ge.modules.dao.TbStoreCommentDao;
import com.ge.modules.entity.TbStoreCommentEntity;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;
import java.util.Map;


@Service
public class TbStoreCommentServiceImpl implements TbStoreCommentService {
	@Autowired
	private TbStoreCommentDao storeCommentDao;
	
	@Override
	public TbStoreCommentEntity queryObject(Integer id){
		return storeCommentDao.queryObject(id);
	}
	
	@Override
	public List<TbStoreCommentEntity> queryList(Map<String, Object> map){
		return storeCommentDao.queryList(map);
	}
	
	@Override
	public int queryTotal(Map<String, Object> map){
		return storeCommentDao.queryTotal(map);
	}
	
	@Override
	public void save(TbStoreCommentEntity storeComment){
		storeCommentDao.save(storeComment);
	}
	
	@Override
	public void update(TbStoreCommentEntity storeComment){
		storeCommentDao.update(storeComment);
	}
	
	@Override
	public void delete(Integer id){
		storeCommentDao.delete(id);
	}
	
	@Override
	public void deleteBatch(Integer[] ids){
		storeCommentDao.deleteBatch(ids);
	}
	
}
